			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class RangeReviewBenchmark : EntityBase
	{
		[DataMember]
		private RangeReviewBenchmarkRow row;
		
		public RangeReviewBenchmark(RangeReviewBenchmarkRow row)
		{
			this.row = row;
		}
		
		public RangeReviewBenchmark()
		{
			this.row = new RangeReviewBenchmarkRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public int RangeReviewSourceId
		{
			get { return row.RangeReviewSourceId; }
			set { row.RangeReviewSourceId = value; }
		}

		[DataMember]
		public int? RangeReviewTargetId
		{
			get { return row.RangeReviewTargetId; }
			set { row.RangeReviewTargetId = value; }
		}

		[DataMember]
		public int? StoreId
		{
			get { return row.StoreId; }
			set { row.StoreId = value; }
		}

		[DataMember]
		public int? StoreGroupId
		{
			get { return row.StoreGroupId; }
			set { row.StoreGroupId = value; }
		}

		[DataMember]
		public int TargetCurrencyId
		{
			get { return row.TargetCurrencyId; }
			set { row.TargetCurrencyId = value; }
		}

		[DataMember]
		public int ColumnNumber
		{
			get { return row.ColumnNumber; }
			set { row.ColumnNumber = value; }
		}

		[DataMember]
		public int? HistoryGroupId
		{
			get { return row.HistoryGroupId; }
			set { row.HistoryGroupId = value; }
		}

		
		public RangeReviewBenchmarkRow GetRow()
        {
            return row;
        }
		
	} 
} 
